package com.vondear.rxui.view.dialog;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.vondear.rxui.R;


/**
 * 
 * @date 2016/7/19
 * 确认 弹出框
 */
public class RxLookNumberDialog extends RxDialog {
    private TextView tishiTv;
    private TextView btn1;
    private TextView btn2;
    private ImageView btn_close;
    public RxLookNumberDialog(Context context, int themeResId) {
        super(context, themeResId);
        initView();
    }

    public RxLookNumberDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        initView();
    }

    public RxLookNumberDialog(Context context) {
        super(context);
        initView();
    }

    public RxLookNumberDialog(Context context, float alpha, int gravity) {
        super(context, alpha, gravity);
        initView();
    }

    public ImageView getBtn_close() {
        return btn_close;
    }

    public TextView getTishiTv() {
        return tishiTv;
    }

    public TextView getBtn1() {
        return btn1;
    }

    public TextView getBtn2() {
        return btn2;
    }


    private void initView() {
        View dialogView = LayoutInflater.from(getContext()).inflate(R.layout.dialog_look_number, null);
        tishiTv = dialogView.findViewById(R.id.tishiTv);
        btn1 = dialogView.findViewById(R.id.btn1);
        btn2 = dialogView.findViewById(R.id.btn2);
        btn_close = dialogView.findViewById(R.id.btn_close);
        setContentView(dialogView);
    }

}
